package hsw.socialmedia.model.dao.rowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class UserFriendsRowMapper {

	
	
	private final Log logger = LogFactory.getLog(UserFriendsRowMapper.class);

	public Integer[] mapRow(ResultSet rs) throws SQLException {
		logger.debug("entering userFriendsRowMapper");

		Integer[] result = {};
		result[0] = rs.getInt("userID");
		result[1] = rs.getInt("freundID");
		return result;
	}
}
